<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="<?php myTools::byDirection('ltr', 'rtl'); ?>">
<head>

<?php include_http_metas() ?>
<?php include_metas() ?>

<?php include_title() ?>

<link rel="shortcut icon" href="/favicon.ico" />

</head>
<body>
  <div id="hd"><!-- header -->
  
  <?php if ($sf_user->isAuthenticated()): ?>
    <?php include_partial('user/dashboard'); ?>
  <?php endif; ?>
  
  <div class="yui-d0">
    <div class="yui-main">
    <div class="yui-g<?php echo myTools::byDirection('d', 'c')?>">
    
      <div class="yui-u<?php echo myTools::byDirection(' first', '')?>">
      <h1><?php echo link_to(sfConfig::get('app_site_title'), '@homepage'); ?></h1>
      </div>
      
      <div class="yui-u<?php echo myTools::byDirection('', ' first')?>">
        <?php include_component('page', 'languages'); ?>
      </div>
      
    </div>
    </div>
  </div>
  </div><!-- header -->
  
  <div id="bd"><!-- body -->
  <div class="yui-d0">
    
  

<?php echo $sf_content ?>

    
  </div>
  </div><!-- body -->
  
  <div id="ft">
<div class="yui-t<?php echo myTools::byDirection('3', '6')?>">
<div class="yui-main">
<div class="yui-b">

<h2>Featured</h2>

<?php include_component('user', 'featured'); ?>

</div>
</div>

<div class="yui-b">
  <div class="wrapper">
    <h2>Navigation</h2>
    <?php include_partial('global/navigation'); ?>
  </div>
</div>
  </div>
  </div>
</body>
</html>
